package Entity;

import java.io.Serializable;
import javax.persistence.*;

@Entity
@Table (name = "FormaPago")
public class FormaPagoEntity implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
	@Column (name = "idFormaPago")
	private int id;
	
	@Column (name = "Tipo", length = 50)
	private String tipo;
	
	@Column (name = "NumeroCupon")
	private int cupon;
	
	@Column (name = "Banco", length = 50)
	private String banco;
	
	@Column (name = "Monto")
	private Float monto;
	
	@ManyToOne
	@JoinColumn (name = "idFactura")
	private FacturasEntity factura;
	
}
